<div class="row">
	<div style="text-align: center;">
		<h2>ĐĂNG NHẬP HỆ THỐNG</h2>
	</div>
	<div class="login-wrapper col-md-6 col-md-offset-3">
	   <div class="register-form">
	   <?php if($this->error){?>
       <div class="alert alert-danger" role="alert">
            <p><strong>Vui lòng kiểm tra lại</strong></p>
           <ul>
                <?php foreach ($this->error as $err){?>
                <li><?php echo $err?></li>
                <?php }?>
           </ul>
       </div>
	   <?php }?>
	   </div>
	   <div class="register-form">
			<form id="login" method="post">
				<div class="form-group">
					<div class="input-group">
						<span class="input-group-addon"><i class="fa fa-user"></i></span>
						<input name="username" id="username" class="form-control" type="text" placeholder="Tên đăng nhập hoặc email">
					</div>
				</div>
				<div class="form-group">
					<div class="input-group">
						<span class="input-group-addon"><i class="fa fa-lock"></i></span>
						<input name="password" id="password" class="form-control" type="password" placeholder="Mật khẩu">
					</div>
				</div>
				
				<input class="btn btn-success btn-block" type="submit" value="Đăng nhập">
			</form>
			<div class="loading" id="loading" style="display: none;"></div>
		</div>
		
		<div class="panel_1 login-footer register-form">
			<p class="title">Đăng ký tài khoản mới</p>
			<div class="col-vl-login">
				<div class="col-vl-login-inner">
					<a href="<?php echo $this->url(array(),'register')?>">
					<span class="fa-stack">
					<i class="fa fa-circle-thin fa-stack-2x"></i>
					<i class="fa fa-user fa-stack-1x"></i>
					</span>
					Đăng ký ngay
					</a>    
				</div>
			</div>
			<div class="col-vl-login">
				<div class="col-vl-login-inner">
					<a href="#">
					<span class="fa-stack">
					<i class="fa fa-circle-thin fa-stack-2x"></i>
					<i class="fa fa-question fa-stack-1x"></i>
					</span>
					Quên mật khẩu
					</a>  
				</div>
			</div>
			<div class="clearfix"></div>
		</div>
	</div>
</div>